import config from '../data/fields.js'
import {_grid} from '../ui/index.js'
import data from '../data/data.json'

let data2=Array.from({length:10}).map((t,i)=>data[0])
let form =_grid(config,data2)
console.log(config,form,data)
document.getElementById("app").appendChild(form)
